package com.lk.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : com.com.lk
 * @date 2021/11/21 22:04
 **/
@FeignClient(url = "https://gitee.com",name = "gitee")
public interface ThirdGiteeLogin {


    @GetMapping("/oauth/authorize")
    String getCode(@RequestParam("client_id") String clientId,
                   @RequestParam("redirect_uri") String redirectUri,
                   @RequestParam("response_type") String responseType);
}
